package com.smbms.dao.bill.impl;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;

import com.smbms.dao.bill.mapper.BillMapper;
import com.smbms.pojo.Bill;


public class BillMapperImpl {
	
	private SqlSessionTemplate sqlSessionTemplate;
	
	public List<Bill> searchBill(String productName, Integer providerId,Integer isPayment) {
		List<Bill> bills = sqlSessionTemplate.getMapper(BillMapper.class).searchBill(productName,providerId,isPayment);
		return bills;
		
	}

}
